CC = g++  
CFLAGS = -Wall -Wextra -std=c++11  

all: test report
  
test: main.cpp  
	$(CC) $(CFLAGS) -o test main.cpp  

report: report.tex
	xelatex report.tex
  
clean:  
	rm -f test report.aux report.log report.pdf